body{
    background-color: #ccc;
}
header {
    position: fixed;    
    top: 0;
    left: 0;
    height: 44px;
    width: 375px;
    padding-left: 8px;
    background-color: white;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.setBtn{
    margin-right: 10px;
}
header a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.backBox {
    width: 150px;
    display: flex;
    align-items: center;
}

/* ********      content */

.contentBox {
    width: 375px;
    height: 240px;
    margin-top: 46px;
    /* border: 5px solid black; */
    border-radius: 10px;
}

.content {
    padding-left: 5px;
    margin: 0 auto;
    width: 98%;
    height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background-color:white;
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0px 0px 1px 1px  rgb(211, 211, 211);
}

.goodsBox {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
}
.goodsText{
    width: 220px;
    
}
.goodsImg {
    border-radius: 10px;
    overflow: hidden;
    width: 100px;
    height: 100px;
}

.goodsImg img {
    width: 100px;
    height: 100px;
}

.goodsText h3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    max-height: 60px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.goodsText p:nth-of-type(1) {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    max-height: 20px;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    margin-top: 6px;
}

.goodsText p:nth-of-type(2) {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    max-height: 40px;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    color:#db5a1e;
    margin-top: 6px;
}


.addBtn {
    display: inline-block;
    height: 30px;
    width: 80px;
    text-align: center;
    line-height: 30px;
    border: none;
    background-image: linear-gradient(to left, #db5a1e, #cf7f16);
    border-radius: 10px;
    margin-left: 240px;
    color: white;
}


.dianjia {
    width: 100%;
    height: 20px;
    line-height: 20px;
}


.message{
    display: none;
    position: absolute;
    background-color: #fff;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
}
.message img{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}
